#include "stdio.h"
void printNum(int N)
{
    if (N == 1)
    {
        printf(" %d", 1);
    }
    else
    {
        printNum(N - 1);
        printf(" %d", N);
    }
}
void BubbleSort(int data[], int n)
{
    int t, swap = 1;
    for (int i = 0; i < n - 1 && swap; i++)
    {
        swap = 0;
        for (int j = 0; j < n - i - 1; j++)
        {
            if (data[i] > data[i + 1])
            {
                t = data[i];
                data[i] = data[i + 1];
                data[i + 1] = t;
            }
        }
    }
}
int main(int argc, char const *argv[])
{
    printNum(10);
    getchar();
    return 0;
}